#include <windows.h>
#include "CShopMenuPacket.h"
#include "CChar.h"

CShopMenuPacket::CShopMenuPacket(unsigned long numItems) {

	this->type = 0x3E;
	this->size = 0x04;

	memset(data, 0, sizeof(data));

	memcpy(data+0x04-0x04, &numItems, 4);

}

CShopMenuPacket::~CShopMenuPacket() {
}

void CShopMenuPacket::sendPacket(CChar * schar) {
	schar->quePacket(*this);
}
